package com.example.javaservice.pojo;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class Comment {
    private Integer id;
    private Integer postId;
    private Integer userId;
    private Integer parentId;
    private String content;
    private LocalDateTime createTime;

    // 额外字段，用于前端显示
    private String username;
    private String avatar;
}